﻿<UserControl x:Class="WPFInterview.Welcome"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <UserControl.Resources>
        <RadialGradientBrush x:Key="myBrush">
            <GradientStop Color="CornflowerBlue" Offset="0"></GradientStop>
            <GradientStop Color="Crimson" Offset="3"></GradientStop>
        </RadialGradientBrush>
    </UserControl.Resources>
    <Grid Background="{StaticResource myBrush}">
        <DockPanel LastChildFill="True">
            <FlowDocumentPageViewer DockPanel.Dock="Top" Height="100">
                <FlowDocument>
                    <Paragraph>
                        Welcome to the Crystal Consulting Interview Questions
                    </Paragraph>
                    <Paragraph>
                        This demo uses a resource dictionary and specify a global style for Button.
                    </Paragraph>
                </FlowDocument>
            </FlowDocumentPageViewer>
            <Frame Height="500" Source="http://crystalconsulting.codeplex.com"/>
            </DockPanel>
    </Grid>
</UserControl>
